package com.proactive.webapp.dao;

import java.util.List;

import com.proactive.webapp.entity.Member;

public interface MemberDAO {
	public void insert(Member member);
	public void update(Member member);
	public Member get(Member member);
	public Member getByMemberNO(Member member);
	public Member getByLogin(Member member, String loginAccount);
	public Member checkLogin(Member member);
	public boolean checkAccount(String account);
	public Member getByRegisterNO(Member member);
	public void updateStatus(Member member);
	public List<Member> getFollowList(String account, String loginAccount, int start, int size);
	public List<Member> getFansList(String account, String loginAccount, int start, int size);
	public int countFansTotal(String account);
	public int countFollowTotal(String account);
	public List<Member> getListTop(int number);
	public Member checkMember(String account);
	public void updateRegisterNO(Member member);
	public void updateResetNO(Member member);
	public Member getByResetNO(Member member);
	public void updatePassword(Member member);
	public List<Member> getListTopByCard(int start, int size);
	public Member checkFacebookAccount(Member member);
	public void insertByFacebook(Member member);
}
